home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 50
/
Aminet 50 (2002)(GTI - Schatztruhe)[!][Aug 2002].iso
/
Aminet
/
text
/
edit
/
tecoc-146.lha
/
exez.c
< prev
next >
Wrap
C/C++ Source or Header
|
1991-07-05
|
800b
|
25 lines
/*****************************************************************************
ExeZ()
This function executes a Z command.
Z Equivalent to the number of characters currently
contained in the buffer. Thus, Z represents the
position following the last character in the buffer.
*****************************************************************************/
#include "zport.h" /* define portability identifiers */
#include "tecoc.h" /* define general identifiers */
#include "defext.h" /* define external global variables */
DEFAULT ExeZ() /* execute Z command */
{
#if DEBUGGING
DBGFEN(1,"ExeZ",NULL);
sprintf(DbgSBf,"PushEx(%ld)", ((GapBeg-EBfBeg)+(EBfEnd-GapEnd)));
DbgFEx(1,DbgFNm,DbgSBf);
#endif
return PushEx((LONG)((GapBeg-EBfBeg)+(EBfEnd-GapEnd)), OPERAND);
}